//
//  WMPhotoViewController.m
//  Mink
//
//  Created by 周述坚 on 17/6/22.
//  Copyright © 2017年 周述坚. All rights reserved.
//

#import "WMPhotoViewController.h"
#import "WMCameraViewController.h"


@interface WMPhotoViewController ()

@end

@implementation WMPhotoViewController

- (void)setupUI{
    UIButton *camera = [UIButton sj_buttonWithTitle:nil image:[UIImage imageNamed:@"tab_ic_camera_n"] andHighLight:[UIImage imageNamed:@"tab_ic_camera_n"]];
    camera.frame = CGRectMake(SCREENWIDTH - 80, SCREENHEIGHT -180, 60, 60);
    [self.view addSubview:camera];
    
    [camera addTarget:self action:@selector(addAction) forControlEvents:UIControlEventTouchUpInside];

}

- (void)addAction{
    
   // WMCameraViewController *caController = [[WMCameraViewController alloc] init];
    
    VPaiCtrl *caController = [[VPaiCtrl alloc] init];
    
    [self.navigationController pushViewController:caController animated:YES];


}




@end
